<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{oldInvoiceBean.id}"/>
		<f:event type="preRenderView" listener="#{oldInvoiceBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Old Invoice"/>

	<ui:define name="header">
		Old Invoice
	</ui:define>

	<ui:define name="subheader">
		View existing Old Invoice
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="oldInvoiceBeanOldInvoiceRegNum" value="Reg Num:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceRegNum" value="#{oldInvoiceBean.oldInvoice.regNum}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceSaleDate" value="Sale Date:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceSaleDate" value="#{oldInvoiceBean.oldInvoice.saleDate}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceInvCode" value="Inv Code:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceInvCode" value="#{oldInvoiceBean.oldInvoice.invCode}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceSaleAmt1" value="Sale Amt 1:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceSaleAmt1" value="#{oldInvoiceBean.oldInvoice.saleAmt1}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceSaleAmt" value="Sale Amt:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceSaleAmt" value="#{oldInvoiceBean.oldInvoice.saleAmt}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceVatamt" value="Vatamt:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceVatamt" value="#{oldInvoiceBean.oldInvoice.vatamt}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceCost" value="Cost:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceCost" value="#{oldInvoiceBean.oldInvoice.cost}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceCombackd" value="Combackd:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceCombackd" value="#{oldInvoiceBean.oldInvoice.combackd}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceCcomback" value="Ccomback:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceCcomback" value="#{oldInvoiceBean.oldInvoice.ccomback}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceCloseday" value="Closeday:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceCloseday" value="#{oldInvoiceBean.oldInvoice.closeday}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAname1" value="Aname 1:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAname1" value="#{oldInvoiceBean.oldInvoice.aname1}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAname2" value="Aname 2:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAname2" value="#{oldInvoiceBean.oldInvoice.aname2}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAname3" value="Aname 3:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAname3" value="#{oldInvoiceBean.oldInvoice.aname3}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAtel1" value="Atel 1:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAtel1" value="#{oldInvoiceBean.oldInvoice.atel1}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAadd1" value="Aadd 1:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAadd1" value="#{oldInvoiceBean.oldInvoice.aadd1}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAadd2" value="Aadd 2:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAadd2" value="#{oldInvoiceBean.oldInvoice.aadd2}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAadd3" value="Aadd 3:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAadd3" value="#{oldInvoiceBean.oldInvoice.aadd3}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAadd4" value="Aadd 4:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAadd4" value="#{oldInvoiceBean.oldInvoice.aadd4}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAadd5" value="Aadd 5:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAadd5" value="#{oldInvoiceBean.oldInvoice.aadd5}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAcardNum" value="Acard Num:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAcardNum" value="#{oldInvoiceBean.oldInvoice.acardNum}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAoffice" value="Aoffice:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAoffice" value="#{oldInvoiceBean.oldInvoice.aoffice}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAtel2" value="Atel 2:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAtel2" value="#{oldInvoiceBean.oldInvoice.atel2}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceErrcode" value="Errcode:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceErrcode" value="#{oldInvoiceBean.oldInvoice.errcode}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceOldreg" value="Oldreg:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceOldreg" value="#{oldInvoiceBean.oldInvoice.oldreg}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceRemainx" value="Remainx:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceRemainx" value="#{oldInvoiceBean.oldInvoice.remainx}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceAmtnum" value="Amtnum:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceAmtnum" value="#{oldInvoiceBean.oldInvoice.amtnum}"/>
			<h:outputText/>
			<h:outputLabel for="oldInvoiceBeanOldInvoiceCarType" value="Car Type:"/>
			<h:outputText id="oldInvoiceBeanOldInvoiceCarType" value="#{oldInvoiceBean.oldInvoice.carType}"/>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>